/**
 * 
 */
package com.health.util;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.junit.Test;

/**
 * @author gaowen
 * @createDate 2013-7-12
 * @version 1.0
 * @tags 
 */


public class Log4jTest {

        static Log log = LogFactory.getLog(Test.class);

        public void log(){
           log.debug("Debug info.");
           log.info("Info info");
           log.warn("Warn info");
           log.error("Error info");
           log.fatal("Fatal info");
        }

   
        public static void main(String[] args) {
        	Log4jTest test = new Log4jTest();
        	test.log();

        }

}